You are here: AgileShapes > Microsoft SPS > Copy Files

Copy Files

This AgileShape can be used to automatically copy one or more files from one SharePoint library (or folder) to another SharePoint library (or folder).

NOTE: This AgileShape is a specialized sub-type of the AgilePart AgileShape. Refer to the documentation for the AgilePart AgileShape for additional information about the properties and behavior that this sub-type inherits from the AgilePart AgileShape.

 

Design-Time Properties

NOTE: Since this AgileShape is a specialized sub-type of the AgilePart AgileShape, all of the standard properties supported by the AgilePart AgileShape are also supported by this AgileShape. Since they are already documented elsewhere, the standard AgilePart properties are not documented in this section. Refer to the documentation for the AgilePart AgileShape for information about the standard AgilePart properties. Additional design-time properties (other than the standard AgilePart properties) that are specific to this AgileShape are documented below.

 

CopyProcessInformation

This property specifies whether to copy certain process related data with the file.

 

Filter

Default value: ${DocName}

This property specifies the filename (or a filename filter containing wildcards) that will be used to determine which file(s) are uploaded from the source location specified by the LocalPath property. This property is very similar to the Filter property of the Download Files AgileShape. Refer to the Download Files AgileShape’s documentation for additional information.

 

OverWriteFile

Default value: False

This property is identical to the OverWriteFile property of the Download Files AgileShape. Refer to the Download Files AgileShape’s documentation for additional information.

 

Recursive

Default value: False

This property specifies whether the AgileShape should download files contained in any subfolders located under the library (or folder) specified by the SourceFolderURL property. This property is very similar to the Recursive property of the Download Files AgileShape. Refer to the Download Files AgileShape’s documentation for additional information.

 

SourceFolderURL

Default value: ${SPServer}/${SitePath}/${DocLibPath}

This property specifies the URL of the SharePoint document library (or subfolder) the file(s) should be copied from.

 

E.g. http://MachineName:Port/sites/SiteName/DocumentLibraryName

 

-or-

 

http://MachineName:Port/sites/SiteName/DocumentLibraryName/FolderName

 

TargetFolderURL

This property specifies the URL of the SharePoint document library (or subfolder) the file(s) should be copied to.

 

E.g. http://MachineName:Port/sites/SiteName/DocumentLibraryName

 

-or-

 

http://MachineName:Port/sites/SiteName/DocumentLibraryName/FolderName